# $Id: PKGBUILD 66469 2012-02-25 04:52:47Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=bashrun
pkgver=0.16.1
pkgrel=2
pkgdesc="An x11 application launcher based on bash"
arch=('any')
url="http://sourceforge.net/projects/bashrun"
license=('GPL')
depends=('bash')
optdepends=('xdotool: allow bashrun to run in background')
source=(http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz)
sha256sums=('bb070b337450b256290089ae1c1bdba57098d48d2d2534d7da3f60a44cdc0d76')

package() {
  cd ${srcdir}/$pkgname-$pkgver

  install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
  install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
  install -D -m644 bashrc ${pkgdir}/usr/share/$pkgname/bashrc
}

